package com.supos.plugin.bean;

import com.alibaba.fastjson.JSON;

import javax.validation.constraints.NotNull;

/**
 * date：2020/4/3 13:54
 * author  ：<xinwangji@supcon.com>
 */
public class Vendor {

    @NotNull(message = "不能为空")
    private String bluetronId;

    @NotNull(message = "不能为空")
    private String organization;

    @NotNull(message = "不能为空")
    private String url;

    @NotNull(message = "不能为空")
    private String email;

    private String copyright = "bluetron (c) 2019";

    @NotNull(message = "不能为空")
    private String address;

    public String getBluetronId() {
        return bluetronId;
    }

    public void setBluetronId(String bluetronId) {
        this.bluetronId = bluetronId;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
